package com.ants.boot.wx.vo.wxarticlecomment;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.time.LocalDateTime;

/**
 * @author 蚂蚁会花呗
 * @date 2022/6/7 14:57
 */
@ApiModel(value = "评论回复对象")
public class WxArticleCommentVo {

    @ApiModelProperty(value = "主键id")
    private Long id;

    /**
     * 外键--评论人id
     */
    @ApiModelProperty(value = "评论人id")
    private Integer userId;

    /**
     * 外键--评论的文章id
     */
    @ApiModelProperty(value = "外键--评论的文章id")
    private Long commentPrId;


    @ApiModelProperty(value = "评论人的头像")
    private String commentUserAvatar;

    @ApiModelProperty(value = "评论人的昵称")
    private String commentUserName;



    /**
     * 评论内容
     */
    @ApiModelProperty(value = "评论的内容")
    private String commentText;

    /**
     * 评论时间
     */
    @ApiModelProperty(value = "评论的时间")
    private LocalDateTime commentTime;

    /**
     * 回复谁的评论，如果是直接评论 为0，回复的话是回复谁的人员的id
     */
    @ApiModelProperty(value = "回复谁的评论，如果是直接评论 为0，回复的话是回复谁的人员的id")
    private Integer replyId;

    /**
     * 评论所属的id，评论为0 回复为，评论的id
     */
    @ApiModelProperty(value = "评论所属的id，评论为0 回复为，评论的id")
    private Long parentId;

    @ApiModelProperty(value = "回复人的昵称，评论时默认为空")
    private String replyName;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Long getCommentPrId() {
        return commentPrId;
    }

    public void setCommentPrId(Long commentPrId) {
        this.commentPrId = commentPrId;
    }

    public String getCommentUserAvatar() {
        return commentUserAvatar;
    }

    public void setCommentUserAvatar(String commentUserAvatar) {
        this.commentUserAvatar = commentUserAvatar;
    }

    public String getCommentUserName() {
        return commentUserName;
    }

    public void setCommentUserName(String commentUserName) {
        this.commentUserName = commentUserName;
    }

    public String getCommentText() {
        return commentText;
    }

    public void setCommentText(String commentText) {
        this.commentText = commentText;
    }

    public LocalDateTime getCommentTime() {
        return commentTime;
    }

    public void setCommentTime(LocalDateTime commentTime) {
        this.commentTime = commentTime;
    }

    public Integer getReplyId() {
        return replyId;
    }

    public void setReplyId(Integer replyId) {
        this.replyId = replyId;
    }

    public Long getParentId() {
        return parentId;
    }

    public void setParentId(Long parentId) {
        this.parentId = parentId;
    }

    public String getReplyName() {
        return replyName;
    }

    public void setReplyName(String replyName) {
        this.replyName = replyName;
    }
}
